package com.sitanyun.merchant.guide.adapter;

import android.content.Context;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sitanyun.merchant.guide.R;
import com.sitanyun.merchant.guide.bean.Scenlistsbean;

/**
 * Created by jzl
 * on 2022/3/25.
 */
public class RecyleViewDialsAdapter extends BaseQuickAdapter<Scenlistsbean.DataBean, BaseViewHolder>{

public RecyleViewDialsAdapter(Context context){
        super(R.layout.layout_popu_list);
        this.mContext=context;

        }

@Override
protected void convert(BaseViewHolder helper,Scenlistsbean.DataBean item){
    if (item.getSceneName()==null){
        helper.setText(R.id.list,"");
    }else {
        helper.setText(R.id.list,item.getSceneName()+"");
    }
           helper.addOnClickListener(R.id.list);
        }
      }